package jtk.project4.fleet.field;

//septian

import nl.coderight.jazz.form.FormField;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;

public class NewEquipmentCofigureTabField extends GroupControl{
	
	private EquipmentConfigureTrackField configureTrackField;
	private EquipmentConfigureVirtualField virtualField;

	
	public NewEquipmentCofigureTabField(String bindID) {
		setBindID(bindID);
		createFields();
		addField(createLayout());
	}
	
	private void createFields(){
		configureTrackField = new EquipmentConfigureTrackField("configuretrackfield");
		virtualField = new EquipmentConfigureVirtualField("cirtuafield");
	}
	
	private GroupControl createLayout(){
		GroupControl form = new GroupControl();
		form.setLayout(new FormLayout());
		form.addField(configureTrackField);
		form.addField(virtualField);
		return form;
	}
}
